QT       += core gui svg network gui-private widgets-private multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    App/Managers/DataManager.cpp \
    App/MyApplication.cpp \
    Backend/Frq/QFrqFile.cpp \
    Backend/Frq/QPmkFile.cpp \
    Frontend/Basic/BaseDragProxy.cpp \
    Frontend/Basic/BasicMainWindow.cpp \
    Frontend/Custom/CApplication.cpp \
    Frontend/Custom/CBaseTitleBar.cpp \
    Frontend/Custom/CBigTitleDialog.cpp \
    Frontend/Custom/CCheckBox.cpp \
    Frontend/Custom/CComboBox.cpp \
    Frontend/Custom/CDialog.cpp \
    Frontend/Custom/CDialogBar.cpp \
    Frontend/Custom/CGraphicsScene.cpp \
    Frontend/Custom/CGraphicsView.cpp \
    Frontend/Custom/CLTabButton.cpp \
    Frontend/Custom/CLabel.cpp \
    Frontend/Custom/CLayoutLine.cpp \
    Frontend/Custom/CLineEdit.cpp \
    Frontend/Custom/CListWidget.cpp \
    Frontend/Custom/CMenu.cpp \
    Frontend/Custom/CMenuBar.cpp \
    Frontend/Custom/CMessageBox.cpp \
    Frontend/Custom/CPushButton.cpp \
    Frontend/Custom/CScrollArea.cpp \
    Frontend/Custom/CScrollBar.cpp \
    Frontend/Custom/CSpinBox.cpp \
    Frontend/Custom/CStatusBar.cpp \
    Frontend/Custom/CTabBar.cpp \
    Frontend/Custom/CTabButton.cpp \
    Frontend/Custom/CTabWidget.cpp \
    Frontend/Custom/CTextEdit.cpp \
    Frontend/Custom/CToolBar.cpp \
    Frontend/Custom/CToolButton.cpp \
    Frontend/Custom/CTopWidget.cpp \
    Frontend/Custom/CTreeWidget.cpp \
    Frontend/Custom/CWindow.cpp \
    Frontend/Custom/CWindowBar.cpp \
    Frontend/Custom/Core/CIcon.cpp \
    Frontend/Custom/Intern/CSvgIconEngine.cpp \
    Frontend/Custom/Intern/CSvgIconEngine_p.cpp \
    Frontend/Custom/Native/CNativeHandler.cpp \
    Frontend/Custom/Native/CNativeHandlerDummy.cpp \
    Frontend/Custom/Native/CNativeHandlerLinux.cpp \
    Frontend/Custom/Native/CNativeHandlerMacOS.cpp \
    Frontend/Custom/Native/CNativeHandlerQt.cpp \
    Frontend/Custom/Native/CNativeHandlerWindows.cpp \
    Frontend/Custom/Native/CNativeWidget.cpp \
    Frontend/Custom/Private/CWindowBarTitleLabel.cpp \
    Frontend/Widgets/BaseContainer.cpp \
    Frontend/Widgets/BaseTabWidget/BaseTab.cpp \
    Frontend/Widgets/BaseTabWidget/BaseTabWidget.cpp \
    Frontend/Widgets/LinearScrollArea.cpp \
    Frontend/Widgets/NoneScrollArea.cpp \
    LowLevel/Basic/BaseManager.cpp \
    LowLevel/Basic/ModelHandler.cpp \
    LowLevel/Classes/Core/QMarginsImpl.cpp \
    LowLevel/Classes/QMetaTypeImpl.cpp \
    LowLevel/Classes/QMetaTypeUtils.cpp \
    LowLevel/Classes/User/QColorList.cpp \
    LowLevel/Classes/User/QDataUri.cpp \
    LowLevel/Classes/User/QLineStyle.cpp \
    LowLevel/Classes/User/QPixelSize.cpp \
    LowLevel/Classes/User/QRectStyle.cpp \
    LowLevel/Classes/User/QSvgUri.cpp \
    LowLevel/Classes/User/QTypeFace.cpp \
    LowLevel/Classes/User/QTypeList.cpp \
    LowLevel/Helpers/EventHelper.cpp \
    LowLevel/Helpers/MathHelper.cpp \
    LowLevel/Helpers/SystemHelper.cpp \
    LowLevel/Helpers/TextHelper.cpp \
    LowLevel/Helpers/ViewHelper.cpp \
    LowLevel/Macros.cpp \
    LowLevel/Namespace.cpp \
    Window/Central/CentralTabBar.cpp \
    Window/Central/CentralTabCloseButton.cpp \
    Window/Central/CentralTabDragProxy.cpp \
    Window/Central/CentralTabWidget.cpp \
    Window/Central/CentralTabWidget_Base.cpp \
    Window/Central/CentralTabWidget_Events.cpp \
    Window/MainMenus/MainMenus.cpp \
    Window/MainWindow.cpp \
    Window/Sides/SidePanel.cpp \
    Window/Tabs/CentralTab.cpp \
    Window/Tabs/CentralTabContent.cpp \
    Window/Tabs/CentralTab_p.cpp \
    Window/Tabs/DocumentTab.cpp \
    Window/Tabs/DocumentTab_p.cpp \
    Window/Tabs/FolderTab.cpp \
    Window/Tabs/FolderTab_p.cpp \
    main.cpp

HEADERS += \
    App/Managers/DataManager.h \
    App/MyApplication.h \
    Backend/Frq/QFrqFile.h \
    Backend/Frq/QPmkFile.h \
    Frontend/Basic/BaseDragProxy.h \
    Frontend/Basic/BasicMainWindow.h \
    Frontend/Custom/CApplication.h \
    Frontend/Custom/CBaseTitleBar.h \
    Frontend/Custom/CBigTitleDialog.h \
    Frontend/Custom/CCheckBox.h \
    Frontend/Custom/CComboBox.h \
    Frontend/Custom/CDialog.h \
    Frontend/Custom/CDialogBar.h \
    Frontend/Custom/CGraphicsScene.h \
    Frontend/Custom/CGraphicsView.h \
    Frontend/Custom/CLTabButton.h \
    Frontend/Custom/CLabel.h \
    Frontend/Custom/CLayoutLine.h \
    Frontend/Custom/CLineEdit.h \
    Frontend/Custom/CListWidget.h \
    Frontend/Custom/CMenu.h \
    Frontend/Custom/CMenuBar.h \
    Frontend/Custom/CMessageBox.h \
    Frontend/Custom/CPushButton.h \
    Frontend/Custom/CScrollArea.h \
    Frontend/Custom/CScrollBar.h \
    Frontend/Custom/CSpinBox.h \
    Frontend/Custom/CStatusBar.h \
    Frontend/Custom/CTabBar.h \
    Frontend/Custom/CTabButton.h \
    Frontend/Custom/CTabWidget.h \
    Frontend/Custom/CTextEdit.h \
    Frontend/Custom/CToolBar.h \
    Frontend/Custom/CToolButton.h \
    Frontend/Custom/CTopWidget.h \
    Frontend/Custom/CTreeWidget.h \
    Frontend/Custom/CWindow.h \
    Frontend/Custom/CWindowBar.h \
    Frontend/Custom/Core/CIcon.h \
    Frontend/Custom/Intern/CSvgIconEngine.h \
    Frontend/Custom/Intern/CSvgIconEngine_p.h \
    Frontend/Custom/Native/CNativeHandler.h \
    Frontend/Custom/Native/CNativeHandlerDummy.h \
    Frontend/Custom/Native/CNativeHandlerLinux.h \
    Frontend/Custom/Native/CNativeHandlerMacOS.h \
    Frontend/Custom/Native/CNativeHandlerPrivate.h \
    Frontend/Custom/Native/CNativeHandlerQt.h \
    Frontend/Custom/Native/CNativeHandlerWindows.h \
    Frontend/Custom/Native/CNativeWidget.h \
    Frontend/Custom/Private/CWindowBarTitleLabel.h \
    Frontend/Widgets/BaseContainer.h \
    Frontend/Widgets/BaseTabWidget/BaseTab.h \
    Frontend/Widgets/BaseTabWidget/BaseTabWidget.h \
    Frontend/Widgets/LinearScrollArea.h \
    Frontend/Widgets/NoneScrollArea.h \
    LowLevel/Basic/BaseManager.h \
    LowLevel/Basic/ModelHandler.h \
    LowLevel/Classes/Core/QMarginsImpl.h \
    LowLevel/Classes/QMetaTypeImpl.h \
    LowLevel/Classes/QMetaTypeUtils.h \
    LowLevel/Classes/User/QColorList.h \
    LowLevel/Classes/User/QDataUri.h \
    LowLevel/Classes/User/QLineStyle.h \
    LowLevel/Classes/User/QPixelSize.h \
    LowLevel/Classes/User/QRectStyle.h \
    LowLevel/Classes/User/QSvgUri.h \
    LowLevel/Classes/User/QTypeFace.h \
    LowLevel/Classes/User/QTypeList.h \
    LowLevel/Helpers/EventHelper.h \
    LowLevel/Helpers/MathHelper.h \
    LowLevel/Helpers/SystemHelper.h \
    LowLevel/Helpers/TextHelper.h \
    LowLevel/Helpers/ViewHelper.h \
    LowLevel/Macros.h \
    LowLevel/Namespace.h \
    Window/Central/CentralTabBar.h \
    Window/Central/CentralTabCloseButton.h \
    Window/Central/CentralTabDragProxy.h \
    Window/Central/CentralTabWidget.h \
    Window/MainMenus/MainMenus.h \
    Window/MainWindow.h \
    Window/Sides/SidePanel.h \
    Window/Tabs/CentralTab.h \
    Window/Tabs/CentralTabContent.h \
    Window/Tabs/CentralTab_p.h \
    Window/Tabs/DocumentTab.h \
    Window/Tabs/DocumentTab_p.h \
    Window/Tabs/FolderTab.h \
    Window/Tabs/FolderTab_p.h

INCLUDEPATH += \
    App/ \
    Frontend \
    Frontend/Basic \
    Frontend/Custom \
    Frontend/Widgets \
    LowLevel \
    LowLevel/Basic \
    LowLevel/Classes \
    LowLevel/Classes/Core \
    LowLevel/Classes/User \
    LowLevel/Helpers \
    Window/

win32 {
    RC_FILE += \
        Resources/platform/win/res.rc

    LIBS += -lDwmapi -luser32
}
else:macx {
    # ICON = Resources/logo/mac/qsynth2.icns
}
else:unix{
    LIBS += -lX11 -lxcb -lX11-xcb
}


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
